package com.ship.dispatch.service;

import com.ship.common.business.service.BaseService;
import com.ship.common.datasource.annotation.Slave;
import com.ship.dispatch.bean.HomePage.ConHomePage;
import com.ship.dispatch.bean.ConShipping;
import com.ship.dispatch.bean.treaShipNetwork.IhsShipBase;
import com.ship.dispatch.bean.treaShipNetwork.IhsShipBaseShipVo;
import com.ship.dispatch.vo.PortInformationVo;

import java.util.List;

public interface ConShippingService extends BaseService<ConShipping> {
    /**
     * 船舶名称筛选船舶租金信息
     * @param ihsShipBases
     * @return
     */
    List<IhsShipBaseShipVo> getIhsShipRentInfo(List<IhsShipBase> ihsShipBases);

    @Slave
    List<IhsShipBase> getIhsShipBases(String name);

    /**
     * 接收站带出该接收站下的历史平均船代费
     * @param name 接收站
     * @param feeType 1：装载，2：卸载
     * @return
     */
    List<PortInformationVo> getShipAgencyFee(String name, Integer feeType);

    Integer queryRentShipNumber(String endDate);

    Integer queryTransportShipNumber();

    void setShipImo();

    void setImoStatus();

    List<ConHomePage> getImoStatus();

}
